home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-03
/
qbfaqr01.zip
/
DTRON.QRM
< prev
next >
Wrap
Text File
|
1992-06-20
|
1KB
|
33 lines
===========================================================================
BBS: PC Connect
Date: 06-18-92 (19:25) Number: 12571
From: JOHN SNEERINGER Refer#: 12455
To: JAMIE KOWINSKY Recvd: NO
Subj: COM PORT CLOSINGS Conf: (11) R-QBasic
---------------------------------------------------------------------------
-> Please... Someone help... I have QuickBasic 4.5 and I need to talk to
-> someone that knows how to exit to the system without closing the Com
-> port? Is it possible to do this? Please help!!
-> ....
-> - Jamie Kowinsky
Jamie,
You need to patch your QuickBASIC BRUN Module. The instructions on how
to do this have been posted innumerable times on this net.
A simple solution is to add the following lines before exiting the .EXE
CLOSE #1 ; this is the com port you were using
OUT &H3FC, 3 ; this is for COM 1, and MUST be the next
; step after close to force the modem to
; keep the DTR up.
to use COM2 use &H2FC instead.
What really happens is that the close statement will actually drop
DTR, but the next statement will raise the DTR before the CD is lost.
PCRelay:UEBBS -> #1018 RelayNet (tm)
4.11 *UEBBS* Utilities Exchange Columbus, Ohio